// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
// See the LICENCE file in the repository root for full licence text.

.beatmap-discussion-vote {
  @top: beatmap-discussion-vote;
  @_default-color: @osu-colour-f1;
  .reset-input();
  .fade-element(100ms);

  display: flex;
  font-size: 12px;

  &--up {
    &,
    &:hover {
      color: @osu-colour-lime-3;
    }
  }

  &--down {
    &,
    &:hover {
      color: @osu-colour-orange-2;
    }
  }

  &--inactive {
    color: @_default-color;
  }

  // overrides the other stuff
  &[disabled] {
    color: @osu-colour-b1;
    background-color: @osu-colour-b3;
    cursor: default;

    &:hover {
      color: @osu-colour-b1;
    }
  }

  &__count {
    padding-left: 5px;
    color: white;
    .@{top}--inactive & {
      color: @_default-color;
    }

    .@{top}[disabled] & {
      color: @osu-colour-b1;
    }
  }
}
